package com.pmj.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pmj.hospital.entity.SysDept;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysDeptMapper extends BaseMapper<SysDept> {


    int updateRelationCode(@Param("oldStr") String oldStr, @Param("newStr") String newStr, @Param("relationCode") String relationCode);

    Integer getMaxDeptCode();
}